package com.seele.tigerwallet.ui.activtiy;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.seele.tigerwallet.R;
import com.seele.tigerwallet.ui.base.TitleBaseActivity;
import com.seele.tigerwallet.ui.views.LinearRelativeLayout;

public class PersonalAuthenticationActivity extends TitleBaseActivity implements View.OnClickListener {


    private LinearRelativeLayout k1AuthenticationRv;

    private LinearRelativeLayout k2AuthenticationRv;

    @Override
    public int getContainerViewId() {
        return R.layout.activity_personal_authentication;
    }

    @Override
    protected void initView() {
        setTitle(R.string.authentication);
        k1AuthenticationRv = $f(R.id.k1_authentication_rv);
        k2AuthenticationRv = $f(R.id.k2_authentication_rv);
        k1AuthenticationRv.setOnClickListener(this);
        k2AuthenticationRv.setOnClickListener(this);

    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.k1_authentication_rv:
                startActivity(AuthenticateK1Activity.class);
                break;
            case R.id.k2_authentication_rv:
                startActivity(AuthenticateK2Activity.class);
                break;
        }
    }
}
